Adding debug output to redirect.html, #29