add version 2 of the blockchain script