Set appropriate baseurl