create shell script to access UAT postgresql db