Added sys-agent creation to agent.pp