S3D adds the code on its own if you put it in the tool change script.
For my machine it takes about 3 mins to bring the hot end to temp. So if it is only a couple times per print ... No sweat. If you do it at every layer... Better be patient.
Oh and i only do this with pla and pet... Never tried ABS so far.