Permission handling for .pkg installer and improvement handling plain text message