The president named Mr. Goss to head the CIA in August , in part to reform the agency many have criticized as ill equipped to fight the war on terror .