adopt lab/src/import2db.py with two templates