postgres build script update