anchor.diff:    WorkingDir = filename:join([ScratchDisk, AppName]),
     RunningDir = filename:join([RunningDisk, AppName]),
     LogDir     = filename:join([LogDisk, AppName]),
  -  
  +
     OtherOpts = [
       {name, AppName},
       {host_ip, HostIp},
  
positive.code:   NewBee = validate_bee(Bee),
    case ?DB:write(bee, NewBee#bee.id, NewBee) of
      ok -> {ok, NewBee};
      {'EXIT',{aborted,{no_exists,_}}} -> 
        ?NOTIFY({db, database_not_initialized, bee}),
        timer:sleep(100),
        {error, database_not_initialized};
  
negative.code:     {working_directory, WorkingDir},
      {run_directory, RunningDir}
    ],
  
    EnvOpts = apps:build_app_env(App, OtherOpts),
    lists:map(fun(Dir) ->
      file:make_dir(Dir)
    end, [ScratchDisk, WorkingDir, RunningDisk, RunningDir, LogDisk, LogDir]),
    Opts = lists:flatten([{cd, RunningDir}, EnvOpts]),
    {ok, App, Opts}.
  