allow for variable base url