Add function to change hostname