                  output_dir,
                  Path.join(["releases", "#{release.version}", "#{release.name}.rel"])
                ),
-             :ok <- create_start_clean(rel_dir, output_dir, options),
-             :ok <- create_no_dot_erlang(rel_dir, output_dir, options),
+             :ok <- create_named_boot(:start_clean, rel_dir, output_dir, options),
+             :ok <- create_named_boot(:no_dot_erlang, rel_dir, output_dir, options),
              do: :ok
 
       :error ->

                 output_dir,
                 Path.join(["releases", "#{release.version}", "#{release.name}.rel"])
               ),
             :ok <- create_start_clean(rel_dir, output_dir, options),
             :ok <- create_no_dot_erlang(rel_dir, output_dir, options),
             do: :ok

      {:ok, _, []} ->

    :ok
  end

  # Generates a named boot script (like 'start_clean')
  defp create_named_boot(name, rel_dir, output_dir, options) do
    Logger.debug("Generating #{name}.boot")

    case :systools.make_script('#{name}', options) do
