No, that should be all. How do you run your script. From SED or from WED? If you're running from WED, make sure you have assigned your script to the level. It's under File -> Map Properties.
Always learn from history, to be sure you make the same mistakes again...