re added quiet mode and made related changes