Updated root detection logic to use regex. Updated dll. Changed the glob generation.