Extract information from input scripts.  INCOMPLETE.