put hostName and dbHostName into separate variables; first step to make it easier to migrate to server.