removing analysis script cruft
clean up through an implementation