Fixed output path problems.