-modified the way run_id is aquired during report header generation. Now it will give a correct header when run_id=-1 is used.