Updated mb.prg from prog-econ-paper branch