Updated output to deal with new URL rewrite rules.