From https://github.com/filecoin-project/go-filecoin/tree/master/scripts

Try to keep in sync