made plugins optional