Changes some settings in the agent file