base url now configurable