Changed how cde-plugins are detected and loaded