fixed octave shell script