Added settings and updated app.py