You have to set the selected modifier again for the icon to refresh. Here's some simple changes to fix the icon issue and prevent some potential errors: if classof subobjectlevel != Integer do setCommandPanelTaskMode #modifytheObjs = selection as arrayif theObjs.count > 0 do ( CurrentMod = modpanel.getCurrentObject() if…