add host name to config object