Unwrap inbound scripts