added new options to getopt