Adding R scripts for plots and png files outputs