Updates for btcscript api changes.