moved dplyr to end of library loading to resolve conflicts with n()
save figures as they are created
directly subset dataframe from csv
add code to time loop
rm after running imports
shot pout_file to help debug loop