anchor.diff:      Release = sin_config:get_value(BuildRef, "-r"),
       AllProjectApps = gather_project_apps(BuildRef, AppBDir),
   
  -    case Release of
  -        undefined ->
  -            ProjectApps = AllProjectApps;
  -        _ ->
  -            ProjectApps =
  -		gather_project_apps(BuildRef, AppBDir,
  -				    sin_config:get_value(BuildRef,
  -							 "releases." ++ Release ++
  -							 ".apps"))
  -    end,
  +    ProjectApps = case Release of
  +		      undefined ->
  +			  AllProjectApps;
  +		      _ ->
  +			  gather_project_apps(BuildRef, AppBDir,
  +					      sin_config:get_value(BuildRef,
  +								   "releases."
  +								   ++ Release ++
  +								   ".apps"))
  +		  end,
   
       BuildRef2 =
   	sin_config:store(
  
positive.code:                               [Dep | Deps], AllProjectApps, Acc) ->
      case lists:keysearch(Dep, 1, AllProjectApps) of
          {value, App={Dep, _Version, NDeps, _Location}} ->
              resolve_project_dependencies(LibDir, ErtsVersion, Deps ++ element(1,NDeps),
                                           AllProjectApps,
                                           [App | Acc]);
          false ->
  
negative.code:     sin_config:store(BuildRef, "apps." ++ AppName ++ ".deps", NDeps),
  
      AddToT = lists:foldl(fun(El, LAcc) ->
  			       case add_to_project_app_list(El, Acc,
  							    ProjectApps) of
  				   true ->
  				       [atom_to_list(El) | LAcc];
  				   false ->
  