Added option to print header in output