removing dependency on Console_Getopt