add batch running