restore_hazard only used from openquake script