dw: added process.end_Batch_sp and changed process.start_Batch_sp