[Fixed to be resilient to missing directories]