Make it work as a global plugin