add opts+env options to analyze-ns
WIP wrong-tag-handler