updated ol.py for version 0.6.0