Actually, it was not that difficult. I had the program to generate the verses, adapted it to output the verses in quotes and with the backslash at the end, did a little cut-and-paste and then used vim to shift the lines to where I wanted.