batch script recovery