Emergency plan for terror attacks, quakes