Added Latest changes to run_online.py