Update cnf.py