If hostname supplied, set it