title: OS X shell script to add/remove App extension
body: <p>I am creating a FinderSync Extension for my application like Dropbox do. Now I need to register and unregister this extension from Extensions(in System preference) programmatically. 
  Dropbox implemented this feature in recent release .</p>
  
  <p><img src="https://i.stack.imgur.com/PWkit.png" alt="Extensions Pane System Preferences"></p>
  
  <p>How to unregister and register an extension dynamically using <strong>applescipt</strong>.</p>