FLEX-33819 fixed bat script