Added support for generating all xml related to scripting.