Cleaning up workflow, restoring all when generating