Add wave discrimination proclus routine