anchor.diff:              ok
       end.
   
  +init_plugins_cli(CheckedPlugins) ->
  +    init_plugins_cli(CheckedPlugins, [code:lib_dir()]).
  +
  +init_plugins_cli([{module_plugin, _}|Rest], Acc) ->
  +    init_plugins_cli(Rest, Acc);
  +init_plugins_cli([{App, _}|Rest], Acc) ->
  +    case code:priv_dir(App) of
  +        {error, bad_name} ->
  +            init_plugins_cli(Rest, Acc);
  +        PrivDir ->
  +            init_plugins_cli(Rest, [PrivDir|Acc])
  +    end;
  +init_plugins_cli([], Acc) ->
  +    case clique_config:load_schema(Acc) of
  +        {error, schema_files_not_found} ->
  +            lager:debug("couldn't load cuttlefish schema");
  +        ok ->
  +            ok
  +    end.
  +
  +
   stop_plugin(vmq_plugin) -> ok;
   stop_plugin(App) ->
       case lists:member(App, erlang:loaded()) of
  
positive.code:         {ok, [{plugins, Plugins}]} ->
              case check_plugins(Plugins, []) of
                  {ok, CheckedPlugins} ->
                      ok = start_plugins(CheckedPlugins),
                      ok = compile_hooks(CheckedPlugins),
                      {ok, State#state{ready=true}};
  
negative.code:     end;
  
  check_plugins([], CheckedHooks) ->
      {ok, CheckedHooks}.
  
  start_plugins([{module_plugin, _}|Rest]) ->
  