Add `setBase` and `setDestBase` to change the basepath values