updated app.run() for aws