move globals to local env file