fix path to the restore_hazards script