add getopt for those who need it