analysis script is finally done? Also has output in csv format