Run code after flask application has started Run code after flask application has started flask flask