Batch management system