changed app.py back to index.py so not redundant