got header working
select page
split out directives
plot tab working