Fixed some sudo issues, and added not enough tested debian support