Modified code to match new domain.