Added initial plugin code