edit throw2db.py and fix wikicut.py