Add roottools support, and better check for root access