Export globals to new scope