move to R markdown files for QC scripts