Fix reports script.