#1 replace environment paths in config