replace hard coded /Users/pivotal with ~