Added ability to use url as key source