anchor.diff:      [] -> ?STARTING_PORT;
       [P|_] -> P
     end,
  -  % ?LOG(info, "internal_start_new_instance(~p, ~p, ~p)", [App, Port, From]),
  +  ?LOG(info, "internal_start_new_instance(~p, ~p, ~p)", [App, Port, From]),
     Bee = internal_start_new_instance(App, Port, AppLauncher, From),
     NewAvailablePorts = lists:delete(Port, AvailablePorts),
     {reply, ok, State#state{
  
positive.code: %%--------------------------------------------------------------------
  %%% Internal functions
  %%--------------------------------------------------------------------
  
  % Find and transfer the bee
  find_and_transfer_bee(App) ->
    Nodes = lists:map(fun(N) -> node(N) end, node_manager:get_storage()),
    Path = next_free_honeycomb(App),
    LocalPath = filename:join([filename:absname(""), lists:append([Path, "app.iso"])]),
    case find_bee_on_storage_nodes(App#app.name, Nodes) of
      {ok, Node, RemotePath} ->
        slugger:get(Node, RemotePath, LocalPath);
      {error, _} -> error
    end,
    {ok, Path, LocalPath}.
    
  find_bee_on_storage_nodes(_, []) -> {error, not_found};
  find_bee_on_storage_nodes(Name, [Node|Rest]) ->
    case rpc:call(Node, ?STORAGE_SRV, has_squashed_repos, [Name]) of
  
negative.code:   Opts = [named_table, set],
    ets:new(?TAB_ID_TO_BEE, Opts),
    ets:new(?TAB_PID_TO_BEE, Opts),
    
    MaxBackends     = ?MAX_BACKENDS_PER_HOST,
    % set a list of ports that the node can use to deploy applications
  