First commit of the main script for dealing with sequences in the XML file