refine uploader.bat