fix batch script