Adding Postgresql Scripting and Build Implementation