added check for if plugin installed