first cut of the R and png files