detect plugins