Library of scripts to extract and process a variety of customer metrics