Reverting p-transfer and p-cleanup to monolitic script states.