first cut put the hosts from the config instead of static code