integration: use Script.getHash