add cdpath, fixes #7