Trimmed Analysis Script