Add try catch for plugin shortcut. Updated ccode.