Finish script to update hosts information.