Recover and continue if script crashes