add execute bat function