added dash at end of grep to only get component- dirs