Add in optind to reset