anchor.diff:  
   # Check argument(s)
   if [ -z "$1" ]; then
  -    echo "Small script to stitch video panorama files."
  +    echo "Small script to stitch panoramic videos."
       echo -e "Script originally writen for Samsung Gear 360.\n"
       echo -e "Usage:\n$0 inputdir [outputfile]\n"
  -    echo "Where inputfile is a panorama file from camera,"
  +    echo "Where inputfile is a panoramic video file,"
       echo "output parameter is optional."
  +    run_command notify-send "Please provide an input file."
  +    sleep 2
       exit 1
   fi
   
   # Output name as second argument
   if [ -z "$2" ]; then
  -    OUTNAME=`basename "${1%.*}"`_pano.mp4
  +    # If invoked by nautilus open-with, we need to remember the proper directory in the outname
  +    OUTNAME=`dirname "$1"`/`basename "${1%.*}"`_pano.mp4
       echo "DEBUG: output filename: $OUTNAME"
   fi
   
  
positive.code: ENDTS=`date +%s`
  RUNTIME=$((ENDTS-STARTTS))
  echo Video written to $OUTNAME, took: $RUNTIME s
  
  exit 0
  
  ################################ Windows part here
  
negative.code: 
  :: Execute commands (as simple as it is)
  echo Converting video to images...
  "%FFMPEGPATH%/ffmpeg.exe" -y -i %1 -vf scale=7776:3888 %FRAMESTEMPDIR%/%IMAGETMPL%
  if %ERRORLEVEL% EQU 1 GOTO FFMPEGERROR
  
  :: Stitching
  