Refactor + can randomize change in TransactionBuilder
improve perf of script comparison