The fittings for the pipes on your old one are just push fitted into the thermostat
Housing with some sealant round them so carefully (so you don't crush the
Pipes) clamp some mole grips on each one and twist and pull them out, the use a bit of sealant and push them into your new housing the same way,
Very easy to do mate
Thanks
Marc