Changes made to script for updating XML Submissions