Improved way of getting urls
Amended docs for url param