added support for urls