Scripts and code to support the Peregrine SFDC tool