add header to document state of legacy mode switch during invocation