Ah, yeah, that would explain it.
As a general rule of thumb, when doing stuff that affects the game as a whole "under the hood" (game-changing scripts like this, for example), I typically delegate all those tests to a Debug map which holds the new features until I deem them to work as desired, at which point I feel I can deploy them in a regular run.
Glad it's working for you
