anchor.diff:          node_name=`echo $NAME_ARG | awk '{print $2}'`
           erlang_cookie=`echo $COOKIE_ARG | awk '{print $2}'`
   
  -        $ERTS_DIR/bin/escript $ERTS_DIR/bin/install_upgrade.escript $node_name $erlang_cookie $2
  +        $ERTS_DIR/bin/escript $ERTS_DIR/bin/install_upgrade.escript $REL_NAME $node_name $erlang_cookie $2
           ;;
   
       console|console_clean|console_boot)
  
positive.code:     ok = erl_tar:create(TarFile,
                          [{"erts-"++ErtsVersion, filename:join(TempDir, "erts-"++ErtsVersion)},
                           {filename:join(["erts-"++ErtsVersion, "bin", "nodetool"]),
                           hd(nodetool_contents())},
                           {filename:join(["erts-"++ErtsVersion, "bin", "install_upgrade.escript"]),
                           hd(install_upgrade_escript_contents())},
                           {"lib", filename:join(TempDir, "lib")},
                           {"releases", filename:join(TempDir, "releases")},
                           {filename:join(["releases", "RELEASES"])
                           ,filename:join([OutputDir, "releases", "RELEASES"])},
                           {filename:join(["releases", Vsn, "vm.args"]),
                           filename:join([OutputDir, "releases", Vsn, "vm.args"])},
                           {"bin", filename:join([OutputDir, "bin"])}], [compressed]),
      rlx_log:info(rlx_state:log(State),
                   "tarball ~s successfully created!~n", [TarFile]),
  
negative.code:         exec $REMSH
          ;;
  
      upgrade|downgrade|install)
          if [ -z \"$2\" ]; then
              echo \"Missing package argument\"
              echo \"Usage: $REL_NAME $1 {package base name}\"
              echo \"NOTE {package base name} MUST NOT include the .tar.gz suffix\"
              exit 1
          fi
  