scripts for the tail end of the data analysis pipeline and a consistent API