build & change baseurl