'Load the plugin (script), init it and add to the _plugin dict'

def _load_plugin(self, plugin_script, args=None, config=None):

    name = plugin_script[len(self.header):(-3)].lower()
    try:
        plugin = __import__(plugin_script[:(-3)])
        if (name in ('help', 'amps', 'ports')):
            self._plugins[name] = plugin.Plugin(args=args, config=config)
        else:
            self._plugins[name] = plugin.Plugin(args=args)
    except Exception as e:
        logger.critical('Error    while    initializing    the    {}    plugin    ({})'.format(name, e))
        logger.error(traceback.format_exc())
