make base url configurable