fix xrootd script