anchor.diff:  sname(BossConf, AppFile) ->
       boss_config_value(BossConf, boss, vm_name, io_lib:format("~s@~s", [app_name(AppFile), host_name()])).
   
  -cookie(BossConf) ->
  -    boss_config_value(BossConf, boss, vm_cookie, "abc123").
  +cookie_option(BossConf) ->
  +    case boss_config_value(BossConf, boss, vm_cookie) of
  +        undefined ->
  +            "";
  +        Cookie ->
  +            "-setcookie "++Cookie
  +    end.
   
   max_processes(BossConf) ->
       boss_config_value(BossConf, boss, vm_max_processes, 32768).
  
positive.code:         undefined ->
              io:format("echo 'The stop command requires a vm_name in boss.config'", []);
          SName ->
              Cookie = cookie(BossConf),
              StopCommand = io_lib:format("rpc:call('~s', init, stop, []).", [SName]),
  
              io:format("erl -noshell -pa ebin -setcookie ~s -sname stopper_~s -eval \"~s\" -s init stop", 
                  [Cookie, SName, StopCommand])
      end,
  	ok.
  
  
negative.code:         undefined ->
              io:format("echo 'The reload command requires a vm_name in boss.config'", []);
          SName ->
              CookieOpt = cookie_option(BossConf),
              ReloadCode = io_lib:format("rpc:call('~s', boss_load, reload_all, [])", [SName]),
              ReloadRoutes = io_lib:format("rpc:call('~s', boss_web, reload_routes, [])", [SName]),
              ReloadLangs = io_lib:format("rpc:call('~s', boss_web, reload_all_translations, [])", [SName]),
              io:format("erl -noshell -pa ebin ~s -sname reloader_~s -eval \"~s, ~s, ~s.\" -s init stop", 
                  [CookieOpt, SName, ReloadCode, ReloadRoutes, ReloadLangs])
      end,
  	ok.
  
  