Updated Postgres cli scripts