These lines need to be moved so the NextToken makes it into the request properly