Added WRITE_NB_HEADER setting