use conf var for miner run detection, instead of just guessing