Added root detection and file detection for certain configurations.