In the code brackets above in the first post is exactly what I typed to create the file. Opened cmd prompt and CD to where the scripts are kept. I dont seem to get the 'script not found' error if I leave the [$mode=full] off. But I still get the IF error when I run the ccs.