Convert fgen.py to use ivi.add_property