added checks for additive noise maxima and slight changes in conditional scripts