Updated script is a little more resilient, and can be used to filter by and catch various fields, controlled with a static variable at the top of the file for now. Still brittle, and breaks easily on bibtex file changes.