respect the -q switch in this script