Fix dupe scripts