Edited License

:D
Hopefully got it working ;)
Legality Issues

Yeah.
Made the script much better.
Merge remote-tracking branch 'upstream/master'