Write tag and CMSSW version. Add option for outputfile.
Update help