Added safety check for missing plugin