Fixed bat script