Fix shell path issues.