Fix the report script.