added scripts for plots and qc