setup dynamic header