FIX input and output path