Some changes to lalapps_snr.py to make it work again.