Now using urljoin to join urls.