Thanks for the fast reply..

Another minor problem.. When i did this, the error regarding the 'endif without if' is gone.. Thats fine.. The problem now is that it seems like the script (.ccs) is not running any code.. It sleeps for a sec. and then terminates without any error or anything else.
Seems more like it's just decrypting (!?) the whole script without executing it...

Any suggestions ?

-Tommy