Add command line switches. Add AverageWaveforms module.