copy start.gcode and end.gcode to your printers settings
To deal with Ultimaker/Cura#19204 open Cura's configuration directory (Cura -> Help -> Show Configuration Folder) copy CuraPrependBugFix.py to the scripts folder
in Cura -> Extensions -> Post Processing -> Modify G-Code -> "Add A Script" find "Cura Prepend Temperature Bugfix" and enable