This is basically copying over @anton's great script! Also had to run `make format` to make this pass `test_lint`. This PR also makes the make commands for tools further align with the tendermint implementation.