Updates WAF script