removes usages of "config" in favor of "environment"