Updated naming of members in Agent demo
Simplified call in agent code