fix setting of direct variable for bash
quell stdout for psql command