simplify domain comparison and url handling. don't follow external urls.
update readme