updated xml functions
- all settings can be done from there