Move rootURLString back for clarity

Move the line that defines `rootURLString` back to the block where we
define configuration variables so that it's easy to see all of the
configuration variables at a glance.
Rename `returnUrls` to be more descriptive