fixed sudo, added comments, improved mod for installer