fixing bat scripts