Corrected bug where using the -t flag stopped the header flag from working