Scoped some url related vars