Set base path

This method is not public accessible, therefor this solution