fix classy main script