Continue batch function