add programvariable to xmlHeader