Added an optional argument list fo the agents, still a work in progress.