Changed app.run()