small changes to import into postgis tool