output formats update. headers were not previously being sent