updated analysis script to dump data frames