anchor.diff:      app_name                = App#app.name,
       host                    = Host,
       host_node               = node(self()),
  +    path                    = AppPath,
       port                    = Port,
       status                  = pending,
       pid                     = Pid,
       start_time              = date_util:now_to_seconds()
     },
     
  -  AppLauncher ! {started_bee, Backend},
  -  
  +  % Store the app in the local ets table
     ets:insert(?TAB_ID_TO_BEE, {Id, Backend}),
     ets:insert(?TAB_PID_TO_BEE, {Pid, Backend, App, From}),
  -  ets:insert(?TAB_NAME_TO_PATH, {App#app.name, Path}),
     
     Backend.
   
  
positive.code: -define (STORAGE_SRV, bh_storage_srv).
  -define (TAB_ID_TO_BEE, 'id_to_bee_table').
  -define (TAB_PID_TO_BEE, 'port_to_bee_table').
  -define (TAB_NAME_TO_PATH, 'app_name_to_path_table').
  
  %%====================================================================
  %% API
  
negative.code:     Path -> {ok, Node, Path}
    end.
  
  % Mount the bee
  mount_bee_from_path(App, ImagePath) ->
    Proplist = ?TEMPLATE_SHELL_SCRIPT_PARSED("mount-bee", [
      {"[[APP_NAME]]", App#app.name},
      {"[[BEE_IMAGE]]", ImagePath}
    ]),
    io:format("Mount bee: ~p~n", [Proplist]),
    case proplists:get_value(path, Proplist) of
      undefined -> {error, not_mounted};
      Path ->
        {ok, Path}
    end.
  
  % Start a new instance of the application
  run_application_on_port_in_path(App, Port, AppRootPath, From) ->  
    TemplateCommand = App#app.start_command,  
    RealCmd = string_utils:template_command_string(TemplateCommand, [
                                                          {"[[PORT]]", misc_utils:to_list(Port)}
                                                        ]),
    % START INSTANCE
    process_flag(trap_exit, true),
    
    io:format("new path, ~p~n", [AppRootPath]),
    AppPath = filename:join([AppRootPath, "home", "app"]),
    ?LOG(info, "Starting on port ~p as with ~p in ~p", [Port, RealCmd, AppPath]),
    
    Pid = port_handler:start(RealCmd, AppPath, self(), [nouse_stdio, {packet, 4}]),
    Host = host:myip(),
    Id = {App#app.name, Host, Port},
    
  