adding -q (--quiet) option for use in scripts