Trying out to see if we can use psql instead to do what we want.