Forgot to enable writing to XML file