The interpreter reads everything in order, if you have something using modules below it (some procedures and things are run automatically often, including the start of the game) and it runs, everything needs to have run first. A good rule of thumb is to add most new scripts towards the end, right above Main (never below).