cleaning up checking for ubuntu/debian and sending mail
Merge pull request #1 from szebrowski/master

cleaning up checking for ubuntu/debian and sending mail