Pass correct hostname in to hosts