Fixed mbs-func function and fixed the function generation stub to have an example line too.

modified:   ext/mbs-func.sh

testing: loaded mbs, ran mbs-func and saw it execute correctly