Guard app.run() based on __name__.