Adding script to convert 'output' file to incidence