Wrote script for patent analysis