Finalizing workflow, cleaning up, handling special cases