realtime.py (untested) added, minor edit to create_batch.py