Updated to get URL and check.