add rscript execution header
clean the output directory before generating
add missing social demographic