added quiet flag to turn of messages