Ethernet Shield V1.1 Pin 10

I’m trying to get an Ethernet Shield v1.1, an SD shield, and a Touch Shield v1.0 all working together on my Mega. I have modified the SD shield and broken pins 10-13 out to a header that plugs into pins 14-17 of my Arduino Mega2560 Rev. 3, and I modified the Ethernet shield to break pin 10 out to a different pin, but I can’t find where in the code to tell it to use a pin other than 10 for SS. Can anyone point me in the right direction?