it seems like that addin and removing files from the VFS of a COMP does not propagate a cook.
A scriptDAT with the following script does not Update correctly:
def onCook(scriptOp):
scriptOp.clear()
for item in parent().vfs:
scriptOp.appendRow(item.name)
return