Implemented redirect_flask.py