I know this is probably a stupid and annoying question but anyways.

Does anyone know how to use the source geoxhon posted?
https://www.mpgh.net/forum/showthread.php?t=1506927

I know the very basics of python but I have no idea what he's doing with the AddHeader class.