fix multiple inclusion in path
define functions for append or prepend to $PATH