Added shebang and a message when failover is active