updated version of bat file