added random agent please use the r flag to turn it on