Adding support for non local  psql hosts