Fix script for multisig