changed approach for static and dynamic plugin components