extract.py removes existing tables before saving new ones