This should redirect you to the code for the script used in Chapter 4 of my April 2015 ALA TechSource Library Technology Report. If it doesn't, click here.