add export pghost = localhost to bash profile