added backend scripts for batch processing