batch processing scripts