Mantis:Codev-589fc6-Create the Command before assi/en

Create the Command before assigning it to a CommandSet.