realtime.py and create_batch.py from last week