How do I modify Cura's code generation?
You can do so by placing this at the top of the start code under machine settings (tested on 2.6.1).

M104 S{material_print_temperature}
M190 S{material_bed_temperature}