Update failover_script.pl

Syntax changes