add after_failure cat command