Is this supposed to be done now? does the script works with duplicate = True?