"what next check all vacuum hoses and seals? "
A flashing CEL means the catalytic converter could be damaged if you continue to run the engine.
Check the air intake hose. It may be cracked and lean out the air fuel ratio intermittently.
Check the fuel pressure and the fuel injectors. At least put a good fuel system cleaner in the tank. I am thinking Techron.
Clean the EGR system.