Add run script for xml extraction