complete analysis script