Algo updated for use with WoodCoin