add appfail settings