added options to some cli programs.