Beefed up the method for building the install script so that newlines can be inserted. Also added the beginnings of a sudo override.