moved disbale script to end of report page