added support for switching settings between environments (host names, etc)