Use root for inspector + set socket on global scope
Cleanup