anchor.diff:      %% get the vsn of erts, kernel, stdlib from start_clean
       AppRel = filename:join([TmpDir,"releases",Vsn,App++".rel"]),
       DepsRel = filename:join([TmpDir,"lib",App++"-"++Vsn,"priv","deps.rel"]),
  -    {ok, [{release,RelAppVsn,{erts,RelErts}, RelApps}]} = file:consult(AppRel),
  +    {ok, [{release,RelAppVsn,{erts,RelErts}, _RelApps}]} = file:consult(AppRel),
       {ok, [SysDep,AppDep,AppApp]} = file:consult(DepsRel),
       
   
       %% verify that the app and vsn are same
  -    AppVsnOk = case RelAppVsn of
  -		   {App,Vsn} -> ok;
  -		   _ ->
  -		       ?ABORT("App and vsn in rel file do not match!~n ~p != ~p~n",[{App,Vsn},RelAppVsn])
  -	       end,
  +    case RelAppVsn of
  +	{App,Vsn} -> ok;
  +	_ ->
  +	    ?ABORT("App and vsn in rel file do not match!~n ~p != ~p~n",[{App,Vsn},RelAppVsn])
  +    end,
   
       [SysDep,
        AppDep,
  
positive.code: 	 ]).
  
  command_help() ->
      {"verify","name=AppName vsn=AppVsn type=full|sys|none",
       "Verify the release tarball before install. ~n  full: verify that no package will overwrite or supercede any existing package installed in $ROOT. This means all apps not listed in AppNam-AppVsn/releases/AppVsn/hooks/verify as nocheck will must be the same vsn.~n  sys:  verify that all apps listed in release dir/start_clean.rel must match.~n  none: means  do not verify at all."}.
  
  deps() -> [ibeam_cmd_get].
  
  run() ->
      {ok, TmpDir} = extract_rel(),
      App = get_app_info(TmpDir),
      Sys = get_sys_info(App),
  
      Name = ibeam_config:get_global(name),
      Vsn = ibeam_config:get_global(vsn),
  
      ibeam_utils:hook(TmpDir,{Name,Vsn},verify_pre,[App,Sys]),
  
      ibeam_config:set_global(app_info,App),
      ibeam_config:set_global(sys_info,Sys),
      
  
      VerifyType = case ibeam_config:get_global(type) of
  		     undefined ->
  
negative.code: 	    ok;
  	error -> error
      end.
  
  verify_erts(all, Paths) ->
      verify_erts([global,embed],Paths,[]);
  verify_erts(global,Paths) ->
      verify_erts([global],Paths,[]);
  verify_erts(embed, Paths) ->
      verify_erts([embed],Paths,[]);
  verify_erts(none, _Paths) ->
      ok.
      
      
  
  verify_rel(full,App,Sys) ->
  