Miner scripts