Removed all mention of CmdArgs - coverted to using getopt_long() now