Added support for insomnia plugin