add PATH, better root uid detection