adding miner script