more on getting API and parsing script to work together.