change the file extention for the R script from r to R