With those bolts loosened but not removed, it made it easier to loosen the flang 8mm bolts on the transfer case side
Now take off the flang bolts on new driveshaft so you can put the new flang on the transfer case
Take off old flang off transfer case (sorry no pics) with a 1 1/4" socket. Use a mallet to hit the old flang while slowly spinning it.
Once that is off, quickly put on new flang as some oil will come out...at least in my case it did.
Put some locktight on the nut and torque down to 160 ft lbs.
Now put the new drive shaft up under your Jeep. I was by myself so I put one end on a floor jack to make it easier for me to put bolts in.
I numbered the bolts so I knew which ones I torqued