Added ability to define custom paths