Changed arg to args to avoid strange octave bug