run analysis script for class