Add report_script helper script which sends email on failover