Revised Python scripts to use new XsTools Python package.