Add a rand command