added shell script for batch processing