analysis script finished