Path flag now does what it's supposed to
fix some -w flag issues too
Merge pull request #1 from dgartner/fix_path_flag

Path flag now does what it's supposed to