Added batch stuff.