Changed how GLOBALS work