CERF: Restoring normality after an earthquake