Add support for multiple server domains

* Added patch from Raymii (Remy van Elst) for multiple servers
* Changed back to percentages instead of rating (A-F)
* Changed shell to bash, there are some bashism's