It also shut down key refineries in the path of the storm .