add endpoint argument for run-quality-assurance-program.sh