If this is a tub/shower set up,virtually every manufacurer speficies you may NOT use CPVC or PEX for the spout connections. The reduced inside diameter reduces flow rate, and will cause leakage from the shower head while using the tub.