@flexkid You can PM me for that part.
Do you have to use or write a script to get root or is there another way?