app.py writetoCNF fixes