script to copy to postgres
tweak script