added hostname changing