ATTENTION: I have updated the script once again. Please try it and tell me what you think of it. This update should work better than the previous ones.
Xpl0reR, I don't know what sort of script you are running when you get an output, and I quote, > [Evaluating] $exists(wc2.txt) [Result] $true so the rest of them.