Made Fixes to live site with batches and file upload/downloads
Fixed INSERT and UPDATE statements to be safe from SQL-injection