add support to search for url in more than one directory