miner script