Updated to accept a URL for checking