Update notify_script

an human error, replace $w by $warnings to get number of warnings into subject mail.