Slight adjustment to look for http:// or https:// instead of http