changed config to account for environment