Create app_fnc.py