moved invert to dbfile, improved import