How to configure the agent to connect with another scheduling manager