Wrap application.run around __name__==__main__