Made a lua global var be local.