Add after failure script