Added agentmain() method