add getopt for some of cli args