quality check script minor changes