What I would do is this:

Run over to MCA's place and grab a program called Kixstrip

Run it like this:

c:\>kixstrip script.kix output.txt

Notepad output.txt and look for anything suspicious ... post the output here if you want further analysis ... this will at least eliminate any possible funky syntax/mismatched quote/logic issues ...

-Shawn