Simpler and more general analysis scripts