install megamcommon first