fix reportscripts