Unrecognized voice commands after using Migration Assistant

Hello.

I have copied the content from one iMac to another iMac using Migration Assistant.
A large number of “Voice Commands” have stopped responding even though the script files work perfectly when run from the Script Editor.

It so happens that if I delete the voice command that has stopped responding and recreate it with the same phrase, the command is recognized again when it is spoken.

My question is if there is any known reason for this situation to occur, and if so, if there is any solution that solves the problem globally.

I would appreciate any help in finding a possible solution.