Merge pull request #191 from xschlef/custom-paths

allow custom paths for chaining