reworking mgbuild and assoc. files