It has to do more with what's in the script and what permissions it was run under and if it's waiting for something before it can exit.

Brian