Fixed dumb bug in installGlobals