Update on QA scripts

Updated the scripts to generate csv table for patents QA to make them
more scalable and replicable.