Added option to stop printing headers