Added list agent. Bugfixing.