Fixed output path issues.