adding formatting to output of some commands