finish the generation outside the workspace