Fixed issue with plugins not running