cleaned up, saves to tmp archive