Added cli randomizer based on mt_rand