Added output path verification