update version number of .bat and add postbuild for deploy