Revert "Ugh, removing unnecessary references to `root_url`"

This reverts commit 68d156ecc1b2f926ec01498091b026db975b89b0.
root_url, etc.
Putting root_url back. Apparently it's important. Sigh.