Add detailed reports again (permission_id wasn't set properly)
Finish updqate script