Create failsafe.sh