Trying to get baseurl working correctly