We are remodeling a 50 year old bathroom. The house has cast iron piping. If I were to replace everything under the toilet (except for the cast iron pipe) with new stuff, what all needs replacing? Is it just the closet flange. How does a closet flange attach to the cast iron?