Updated description of the R script