fixed dash for loop, removed app.py dead code