modified output of postgres.sh script