Rscript reference fix + include header csv file