add options to display header etc and to show output in hex