Added error handling for failed dependency modules.
Extraction working with recursion.