removes app.run redundancy