add automatic date in Rmd + minor changes