Created by: MarvGilb
Fixed header generation. Previously the key was used as value parameter.
@wing328