improving the windows bat scripts