Updated o2rates_demo.py