Minor updates to ivi.py