Fixing the python redirector.