Added function GenerateQuietChecks
Minor changes