Adding automatic host appending to hostnames