Moved the hazard curves export facility in the right place