Update failsafe.sh