Fixing the unix specific path set up

Also standardizing the section naming for the PATH section alone.
Fixing the case close statement