Fix relative paths in the R scripts