   console.error 'Writes output to stdout as CSV'
   process.exit 0
   
-headings = ['file','input','filters','nprofiles','profiles','ncodes','codes','npitch','nrhythm','nboth','nwildcards','wildcards','ninexact','errors','actions','actiontypes','nchannels','channels','state','npreconditions','preconditions','nexamples']
+headings = ['file','input','filters','nprofiles','profiles','ncodes','codes','npitch','nrhythm','nboth','atstart','atend','wholephrase','anywhere','nwildcards','wildcards','ninexact','errors','actions','actiontypes','nchannels','channels','state','npreconditions','preconditions','nexamples']
 
 outrow = ( els ) ->
   out = ''

  
outrow headings

wildcards = ['.','*','+','{']
actiontypes = 
  midi: 'data:text/x-midi-hex'
  osc: 'osc.udp:'

  for marker in (exp.markers ? [])
    code = marker.code
    
    atstart = marker.atStart ? (code.indexOf '^')==0
    atend = marker.atEnd ? (code.indexOf '$')>=0
    if atstart and atend
      info.wholephrase++
    else if atstart
      info.atstart++
    else if atend
      info.atend++
    else
      info.anywhere++

    rhythm = (code.indexOf '/') >= 0
    pitch = /[a-gA-G]/.test code
    if rhythm
