This is an improved version of the original 'Benzie Isolate Selection Improved'. Now it hides and unhides the XREF files too.
This script works better than the isolation system inside max because it doesn't change the viewports. Max isolation system should not frame the object. If I need the object to be framed in the viewport, I now where the 'Z' key is.