Are you using any INCLUDE statements? This will tokenize the included script as well which may cause scope creep with GLOBAL vars (including Functions).