Wan Failover Script