add group analysis script