added PostgreSQL script