reducing it to a single function for disting eggs in mb_install