update config to get host name from env