fixup psql script to not attempt auto db with arguments