You need to use unsafeWindow. That will fix all your problems. ;o) (sorry, I couldn't resist.... again) Make sure your gm_script directory is present. And your config.xml file is present and not empty. That's all I got. And hopefully it's enough.