Fixed bat scripts