made output path configable