added output folder option