How to Write Config Entries to the Agent Configuration file