set up header conditionals