renamed remoteConfig to environmentConfig