Added output path option