CustomGCodeAtLayer
Simple Cura script to insert custom GCode before a specified layer. Drop it in the Cura scripts folder then open Cura.
Extensions=>Post Processing=>Modify GCode=>Add a Script
You can copy/paste multiple lines into the GCode field. Even tho the line breaks don't show up, they do render in the GCode.