changes to header variables and a couple of other mall things