Scripts for failure data analysis