integrate mk_print with the plugin system