Some changes in script to create the plots; add a dir with figures; create a Rmd file