Added failover and failback to config