added octave switch