added script files for postgres