Change basepath