 
if(wave_amp < 0) %Run deployment cse
 cmd = ['!u:/MOOS-Cable-Runs/bin/cable.exe -in MOOS-Mooring.cab -out MOOS-Mooring-Deploy.crs -quit -sample .1 -nodes ',int2str(nodes_of_interest),' -snap_dt 10 -DDEPLOY'];
 %cmd = ['!u:/MOOS-Cable-Runs/bin/cable.exe -in MOOS-Mooring-Towing.cab -out MOOS-Mooring-Towing.crs -quit -sample .1 -nodes ',int2str(nodes_of_interest),' -snap_dt 10'];
 eval(cmd);

else 
    

 
  cmd = ['save ',results_filenm,'-SPEC.mat last_anchor_node first_FC_node last_FC_node first_UC_node first_SNUB_node']
  eval(cmd);   
  
  cmd = ['!c:/progra~1/WHOICA~1/cable.exe -in MOOS-Mooring.cab -out Res.crs -load ',static_results_filenm,'-static.crs -quit -sample .2 -nodes ',num2str(nodes_of_interest,'%5d'),' -snap_dt 5 -DDESIGN']    
  eval(cmd);
  
  cmd = ['!mv Res.crs ',results_filenm,'.crs'];
  eval(cmd);
  
end