added postgres path config and other minor tweaks