When Hamas fires its last rocket and Israel drops its last bomb, the extent of Gaza’s devastation will become clear. An early estimate is that some $5 billion will be necessary to rebuild residences and infrastructure destroyed in the recent conflict. The first step is to take United Nations Relief and Works Agency out of the equation.

UNRWA, the U.N.’s 65-year-old, internationally funded welfare organization for Palestinians, should be commended for providing much needed shelter and aid to displaced Gazans during the crisis. But given several revelations during the current conflict between Hamas and Israel, UNRWA should have no role in any negotiated arrangement regarding Gaza’s reconstruction.

On three occasions rockets were found in UNRWA schools, closed for the summer, and at least once they were returned to Hamas. On another occasion, the UNRWA accused Israel of targeting civilians sheltering in a school when in fact those deaths were caused by a Hamas rocket that fell short. And on another occasion it accused Israel of targeting a shelter and civilians when in reality terrorists outside the facility were hit and civilian bodies possibly planted at the scene.

UNRWA has condemned the rockets found in its schools, but it has not condemned Hamas’ firing rockets from in and around its facilities, or any other locations such as residential areas, hospital parking lots, and hotels. All these have now been documented, often reluctantly, by journalists who have left Gaza, who have also made it clear that they were subject to Hamas surveillance, harassment and intimidation. Instead, UNRWA and its spokesman Chris Gunness have tweeted accusations, voiced hollow defenses, and cried on television.

UNRWA’s many responsibilities should be transferred to the Palestinian Authority, as a means of strengthening the PA practically, politically, and in the eyes of Gaza’s residents. UNRWA employees should be made PA employees and international funds redirected to support its programs. This would be one of the timeliest means of rebuilding the PA in a region where it has been weakest, Gaza, and a way to begin the long overdue process of dismantling UNRWA.