Batch processing now works syn and async