added new ways for module.exports to load plugins