Modified to accomodate the evaluate agent script