test scripts
fixed r.selections in waveform script