S-file generation

Hi, everyone.
I would like to know if someone can help me to solve some questions about the S-file generation using Obspy.
Actually I´m able to generate an S-file with a header like this:

    2023  128  947 28.8 L  13.363 -89.685 49.4  MAR 15 0.2 3.0WMAR                1

However, in order to keep the previous format in my database, I need a header like this:

    2023  128  947 28.8 L  13.363 -89.685 49.4FFSC4                        3.0LSC41

Can someone give me an idea how can I reach that? Could be possible to modify the core to have that result?
Thanks for the help!

After a very brief look, I didn’t see anything that looked like customization of specific lines (what kind of a line is that anyway? is it in a fixed spot in the file? what is “FFSC4” and where does it come from? etc etc). But I don’t really know that format much. If all else fails might be able to modify the file yourself programmatically in Python after writing it.