adding header/footer support, removing config.json