external import of MG_Tools, plugin prep