Updated index.py to kinit before fetching defcon value.