Smog Port Hole/Header Problem

Taking the heads off to do the job described above is the best idea.
If you have a mig welder, you can try and weld them up in car.