Function getEnvironmentConfig