moved upload code from jenkins job into bat script