added ability to query by URL