Added postgresql install, fixed APF, sourced .bashrc after install.