Update make_WFMalarms.sh

Correct some loop intended, making reading to code much easier