Camera first, then gas logs
The flue is looked at from the smoke chamber up before anything is replaced. Then the job itself: flue checked before a set goes in, burner chosen to suit the fireplace, and damper held open to the maker's spec. No part is swapped on a hunch.

