Updated script for new analyzer