Fixed the initial XML conf file creation process.