add postgresql config files and run shell script