update relative path of R script