improvments - now able to run batch with asyncio