Moved Srand to Console