Improved Start G-code for printers (Cura and PrusaSlicer)

I use this Start G-code for my Ender 3 with PrusaSlicer. A translation for Cura is below.

PrusaSlicer - Start G-code:

G90 ; use absolute coordinates
M83 ; extruder relative mode
M104 S[first_layer_temperature] ; set extruder temp
M190 S[first_layer_bed_temperature] ; wait for bed temp
G28 ; home all

; Remove the following two lines if you don't have an ABL.
G29 O ; Optional G29 if there's no stored mesh
M420 S1 Z0

; Print a high-extrusion line to prime the hotend.
G1 X2 Y40 Z2 F3000
M109 S[first_layer_temperature] ; wait for extruder temp
G1 Z0.28 F240
G92 E0
G1 Y200 E15 F1500 ; intro line 1
G1 X2.3 F5000
G1 Y40 E30 F1500 ; intro line 2

; Perform a fast move + retract + prime to stop stringing between the
; end of the primer line and the start of the print.
G92 E0
G1 Y20 E-0.1 F5000 
G1 E0.1 F5000
G92 E0

Cura - Start G-code:

G90 ; use absolute coordinates
M83 ; extruder relative mode
M104 S{material_print_temperature_layer_0} ; set extruder temp
M190 S{material_bed_temperature_layer_0} ; wait for bed temp
G28 ; home all

; Remove the following two lines if you don't have an ABL.
G29 O ; Optional G29 if there's no stored mesh
M420 S1 Z0

; Print a high-extrusion line to prime the hotend.
G1 X2 Y40 Z2 F3000
M109 S{material_print_temperature_layer_0} ; wait for extruder temp
G1 Z0.28 F240
G92 E0
G1 Y200 E15 F1500 ; intro line 1
G1 X2.3 F5000
G1 Y40 E30 F1500 ; intro line 2

; Perform a fast move + retract + prime to stop stringing between the
; end of the primer line and the start of the print.
G92 E0
G1 Y20 E-0.1 F5000 
G1 E0.1 F5000