Add dispatcher events for specific command execution and when agent is connected