Seems reasonable. To be honest the script is really hacky and as i've said I did pretty much just get the first working version committed.
Also rndmh3ro i'm just testing your pull request on a fresh ubuntu machine to make sure it works but thanks for the improvements!