changes to restore hostname