Temporary fix to web_control.py - no longer using flask.url_for()