allow multiple expected codes separated by comma to be specified
added help text and cli debug option
added more debug statements in lookups