Add ExtensionCheckCommand for magic