Yes. As long as it's a blank script file, it should work fine. If you have other scripts, there's the possibility one is conflicting with it and removing the variable.