Updated to allow a URL to be passed as opposed to just a string.