How did government agencies prepare for the upcoming war?