add unwrap stage2 script