Or you can add Bad End to add back to the original file, and the success file to add to another. This way, every time the template fails it adds it back to the original table, and it keeps getting the account from there until the template is executed successfully.