Modified change-hostname script