Improved patch parser
Added text preview
Added csv preview script