Added cleanOutputFolder switch. Closing #9