move configuration to environment