@exadion
For the broken test run vs the working standalone--
I would verify that perhaps you had not changed up the
scripts since saving the working standalone-- that's the
only logical suggestion I could offer?
Sometimes I save my scripts in new name even after just
one line of change-up (memory for me!) Another tip is
that you can comment out the line(s) you are tweaking,
then copy and paste them and work on those lines, so
that it's sorta a backup to your previous script entries.
If you can't figure it out, it's a possibility to take it to the
script forum and post the errors that are popping up.
BTW, I'm sure you're aware, but just to be certain! You
could check and verify that the entities running the script
are activated (static= no / always active= yes) and that sort
of thing.