Improved app_template setup.py