Add the beginnings of the miner script