added path to Agent class