Re-arranged ordering of URL processing lines.