Modified it, duh, fixed a bug with TEMP_REPORT header stuff.