changed default config.R to include header.type, and added comment on how we are getting the header.type variable