Working on getting batch processing working