Should use the raw url and remove the debug reporthook