electrum: script tweaks