added dynamic dupthresh support for non pluggable measurement script