Modified process for generating path list.
Increased portability. Cried over Windows.
Added some more unix paths.