make a rough script of bitcoind #29