Should be a fairly easy fix then- just copy the code from one part of the script over to the other. The xml is really well annotated, so you should be able to get it working fairly easily with a bit of trial and error (just open the xml in notepad).