Add "simulatorcode" to XML