dbgen R script & csvbutton bug fix
safe path for R script