Risk analysis and contingency plan