337 - setting domain in config files if specified