only load mgd1 function replacements if compat switch is true