made host name a config var