updated references to R scripts