Updated bash for pg information