Add options in kavcore.py