Sets the proper base URL