cleanup import, overwrite, and append