url to scope