added support for per command headers