configure basepath