change hardcoded path ~/.octave/ to pkg('prefix')