changes environment implementation for config