Batch processing code modified to work with new version of unshred