Tested on Debian 7 and Ubuntu 14.04.
Merge pull request #3 from nsg/master

Tested on Debian 7 and Ubuntu 14.04.