adjusts output path