Bringing schemas up to date.
Bringing schemas up to date.
Adding data dir path.
Adding ID fields..
Giving in to PHP's quirks.
Removing unnecessary code.
Account for ID fields; Store temporary CSV files in data dir so SQL server has permissions to access it.