Finished selectRoot.lua.