It should be able to perform any commands fine, but not sure on Root...
Gotta make sure it WORKS first before I can fix things.
I am hoping someone who is good with Linux .sh files can take a look at this and test it out. Anyone is welcome to edit this and make it work better for everyone, that's what I hope anyway.
PS: If anyone knows how to make this .sh work for Mac too that'd be great. (I have the OSX moto-fastboot as well.