Cleaning up agent.config template.