Added cmdline parsing and now outputting transformation to entire result file