anchor.diff:  add_instance_managers(Count, SConf) ->
       RailsEnv = proplists:get_value("rails_env", SConf#sconf.opaque, "production"),
       WaitThreshold = list_to_integer(proplists:get_value("request_wait_threshold", SConf#sconf.opaque, "2000")),
  +    MaxRequests = list_to_integer(proplists:get_value("max_requests", SConf#sconf.opaque, 100)),
   
       %%Get the rack application location
       AppRoot = case lists:reverse(SConf#sconf.docroot) of
  
positive.code:             %% the front of the list.
              case lists:reverse(QueuedRequests) of
                  [] ->
  			        instance_manager_loop(RackPid, {idle, []}, WaitThreshold);
                  [{NextRequester, {request, NextRequest}} | OtherRequests] ->
                      RackPid ! {self(), NextRequester, {request, NextRequest}},
                      {ok, NextTimerRef} = timer:send_after(WaitThreshold, threshold_elapsed),    
  			        instance_manager_loop(RackPid, {busy, [{timer, NextTimerRef} | OtherRequests]}, WaitThreshold);
                  [terminate] ->
                      done;
                  [terminate | _OtherRequests] ->
  
negative.code:     end,
      
      Cmd = lists:flatten(io_lib:format("bundle exec \"ruby ./src/rack_instance.rb -r ~s -e ~s\"", [AppRoot, RailsEnv])),
  	[spawn(?MODULE, init_instance_manager, [Cmd, WaitThreshold, MaxRequests]) || _ <- lists:seq(1, Count)].
  
  init_instance_manager(Cmd, WaitThreshold, MaxRequests) ->
  	%% Spawn a process to run the rack instance
  	RackPid = spawn_ruby_instance(Cmd),
  	%% Join the rack instance manager to the process group
  