It is possible i had same problem with one script and fixing name do the trick.
BTW It is really good idea to use some tool for writing scripts, it will do a lot work for You.
You can chose between FSE and Dscript Tool.
If You use FSE then it will register you script, global, map and...