Thanks for your help on this.
I have resolved most of my problems but I'm getting an error on the Sagepay / Protx simulator - I always get an 'INVALID' status with a 'Signature values did not match post. Communication has likely been hacked. ' in the status details.
Thanks again for your help.