         v2_apps = extract_relfile_apps(v2_rel)
         changed = get_changed_apps(v1_apps, v2_apps)
         added   = get_added_apps(v2_apps, changed)
+        removed = get_removed_apps(v1_apps, v2_apps)
         case generate_appups(changed, output_dir) do
           {:error, _} = err ->
             err

              [String.to_charlist(upfrom_rel)],
              [String.to_charlist(upfrom_rel)],
              [{:outdir, String.to_charlist(rel_dir)},
               {:path, get_relup_code_paths(added, changed, output_dir)},
               :silent,
               :no_warn_sasl]
            )

    v2_path = Path.join([output_dir, "lib", "#{app}-#{v2}", "ebin"]) |> String.to_charlist
    v2_path_consolidated = Path.join([output_dir, "lib", "#{app}-#{v2}", "consolidated"]) |> String.to_charlist
    get_added_relup_code_paths(apps, output_dir, [v2_path_consolidated, v2_path|paths])
  end
  defp get_removed_relup_code_paths([], _output_dir, paths), do: paths
  defp get_removed_relup_code_paths([{app, v1}|apps], output_dir, paths) do
    v1_path = Path.join([output_dir, "lib", "#{app}-#{v1}", "ebin"]) |> String.to_charlist
    v1_path_consolidated = Path.join([output_dir, "lib", "#{app}-#{v1}", "consolidated"]) |> String.to_charlist
    get_removed_relup_code_paths(apps, output_dir, [v1_path_consolidated, v1_path | paths])
  end

  # Generates the nodetool utility
