cleanup hack script