added getopt to joinSchema; added quiet option