stop using environment for config