You are using a different Script: ReaTrak amagalma_Write project markers or regions as media cues to selected items active takes source files.lua
to write chord names into the wav file you need some regions or markers, to get them just unfold the BB Plugin Chord sheet, then drag the C7 icon (right click for options) to the start of an empty track in Reaper and import the markers, you can leave as markers or change to regions with action > markers to regions

The script here is to write the RealTrack or RealDrum name in the items as take markers, this only works if you are using WAV Instructions in Reaper. It will look at the RealTrack/Drum source folder name.