miner.php auto naming and size reduction for a large number of rigs