minor mods to set path