change batch location to local directory