added ability to search directories for components