How to use 'overrideBasePath'