script: improve script classification; match multisig scripts.