multiple thresholds option added to allow for peak detection of different magnitude
run_rx.sh and run_tx.sh changed to reflect that