make the docBase easier to cofigure.