added support for overriding paths