development – Difference between sending a transaction on bitcoin and bitcoin cash

I am making a script that connect to a node and do a transaction, everything from scratch, what would be the difference if I wanted to use the same script for bitcoin and bitcoin cash.

I have already changed the seed discovery peers and the magic number related to each protocol, but is there more things I need to change so that I can communicate properly for each kind of protocol ?