pull hostname out into config value