Added taskhistory.py script same input as list-agents.py