Need to comb through your script, looking for function calls that return values, then silence them all, like this:

$= Close(1)

There is a FAQ on this as well.

-Shawn