Added diary mode to command line