this code allow to use bitcoind in macos terminal