replaced node-getopt with commander