added output folder cleaning