finishing the run_analisys