##############################################################################################
 # Command line processing
 ##############################################################################################
+typeset cmd="$0 $*"
 typeset dvdname=""
 typeset debug=""
 typeset dest=""
   passlogfile_opt="-passlogfile $passlogfile"
   pass_opt="pass=%PASS"
 
-  # Check the force_onepass_mode. If it is set, change our variables appropriately
+  # Check the global force_onepass_mode. If it is set, change our variables appropriately
   # to force 1-pass encoding across all profiles.
   if [ $force_onepass_mode -eq 1 ]; then
     PASSES="2"
 # Make a note of when this DVD rip started
 date=`date`
 echo -e "\n$date DVD rip started" >> "$logfile"
+echo "cmd: $cmd" >> "$logfile"
+
+exit
 
 # Rip the DVD - Mirror Mode
 if [ $mirror_mode -eq 1 ]; then