Added random events, exit and new commands