diff --git a/install/dist/conf/debian40.conf.php b/install/dist/conf/debian40.conf.php
index ac6742d01b7a2e4efb7f04a620842d5d871baa7c..9f059e3fe95a4de436382465c9e97dce6ebe5dc1 100644
--- a/install/dist/conf/debian40.conf.php
+++ b/install/dist/conf/debian40.conf.php
@@ -1,67 +1,65 @@
 <?php
 
-/*
-	Distribution specific settings
-*/
+//***  Debian 4.0 default settings
 
-// Main
-$dist["init_scripts"] = "/etc/init.d";
-$dist["runlevel"] = "/etc";
-$dist["shells"] = "/etc/shells";
-$dist["cron_tab"] = "/var/spool/cron/crontabs/root";
-$dist["pam"] = "/etc/pam.d";
+//* Main
+$dist['init_scripts'] = '/etc/init.d';
+$dist['runlevel'] = '/etc';
+$dist['shells'] = '/etc/shells';
+$dist['cron_tab'] = '/var/spool/cron/crontabs/root';
+$dist['pam'] = '/etc/pam.d';
 
-// MySQL
-$dist["mysql"]["init_script"] = "mysql";
+//* MySQL
+$dist['mysql']['init_script'] = 'mysql';
 
-// Apache
-$dist["apache"]["user"] = "www-data";
-$dist["apache"]["group"] = "www-data";
-$dist["apache"]["init_script"] = "apache2";
-$dist["apache"]["version"] = "2.2";
-$dist["apache"]["vhost_dist_dir"] = "/etc/apache2/sites-available";
-$dist["apache"]["vhost_dist_enabled_dir"] = "/etc/apache2/sites-enabled";
+//* Apache
+$dist['apache']['user'] = 'www-data';
+$dist['apache']['group'] = 'www-data';
+$dist['apache']['init_script'] = 'apache2';
+$dist['apache']['version'] = '2.2';
+$dist['apache']['vhost_dist_dir'] = '/etc/apache2/sites-available';
+$dist['apache']['vhost_dist_enabled_dir'] = '/etc/apache2/sites-enabled';
 
-// Postfix
-$dist["postfix"]["config_dir"] = "/etc/postfix";
-$dist["postfix"]["init_script"] = "postfix";
-$dist["postfix"]["user"] = "postfix";
-$dist["postfix"]["group"] = "postfix";
-$dist["postfix"]["vmail_userid"] = "5000";
-$dist["postfix"]["vmail_username"] = "vmail";
-$dist["postfix"]["vmail_groupid"] = "5000";
-$dist["postfix"]["vmail_groupname"] = "vmail";
-$dist["postfix"]["vmail_mailbox_base"] = "/home/vmail";
+//* Postfix
+$dist['postfix']['config_dir'] = '/etc/postfix';
+$dist['postfix']['init_script'] = 'postfix';
+$dist['postfix']['user'] = 'postfix';
+$dist['postfix']['group'] = 'postfix';
+$dist['postfix']['vmail_userid'] = '5000';
+$dist['postfix']['vmail_username'] = 'vmail';
+$dist['postfix']['vmail_groupid'] = '5000';
+$dist['postfix']['vmail_groupname'] = 'vmail';
+$dist['postfix']['vmail_mailbox_base'] = '/home/vmail';
 
-// Getmail
-$dist["getmail"]["config_dir"] = "/etc/getmail";
-$dist["getmail"]["program"] = "/usr/bin/getmail";
+//* Getmail
+$dist['getmail']['config_dir'] = '/etc/getmail';
+$dist['getmail']['program'] = '/usr/bin/getmail';
 
-// Courier
-$dist["courier"]["config_dir"] = "/etc/courier";
-$dist["courier"]["courier-authdaemon"] = "courier-authdaemon";
-$dist["courier"]["courier-imap"] = "courier-imap";
-$dist["courier"]["courier-imap-ssl"] = "courier-imap-ssl";
-$dist["courier"]["courier-pop"] = "courier-pop";
-$dist["courier"]["courier-pop-ssl"] = "courier-pop-ssl";
+//* Courier
+$dist['courier']['config_dir'] = '/etc/courier';
+$dist['courier']['courier-authdaemon'] = 'courier-authdaemon';
+$dist['courier']['courier-imap'] = 'courier-imap';
+$dist['courier']['courier-imap-ssl'] = 'courier-imap-ssl';
+$dist['courier']['courier-pop'] = 'courier-pop';
+$dist['courier']['courier-pop-ssl'] = 'courier-pop-ssl';
 
-// SASL
-$dist["saslauthd"]["config"] = "/etc/default/saslauthd";
-$dist["saslauthd"]["init_script"] = "saslauthd";
+//* SASL
+$dist['saslauthd']['config'] = '/etc/default/saslauthd';
+$dist['saslauthd']['init_script'] = 'saslauthd';
 
-// Amavisd
-$dist["amavis"]["config_dir"] = "/etc/amavis";
-$dist["amavis"]["init_script"] = "amavis";
+//* Amavisd
+$dist['amavis']['config_dir'] = '/etc/amavis';
+$dist['amavis']['init_script'] = 'amavis';
 
-// ClamAV
-$dist["clamav"]["init_script"] = "clamav-daemon";
+//* ClamAV
+$dist['clamav']['init_script'] = 'clamav-daemon';
 
-// Pureftpd
-$dist["pureftpd"]["config_dir"] = "/etc/pure-ftpd";
-$dist["pureftpd"]["init_script"] = "pure-ftpd-mysql";
+//* Pureftpd
+$dist['pureftpd']['config_dir'] = '/etc/pure-ftpd';
+$dist['pureftpd']['init_script'] = 'pure-ftpd-mysql';
 
-// MyDNS
-$dist["mydns"]["config_dir"] = "/etc";
-$dist["mydns"]["init_script"] = "mydns";
+//* MyDNS
+$dist['mydns']['config_dir'] = '/etc';
+$dist['mydns']['init_script'] = 'mydns';
 
-?>
+?>
\ No newline at end of file
diff --git a/install/dist/conf/gentoo.conf.php b/install/dist/conf/gentoo.conf.php
index 90663cd14b134715f6e79fad78177d9b7abf253d..6edd4baf99a6e680cc73a86444e83382be6a8597 100644
--- a/install/dist/conf/gentoo.conf.php
+++ b/install/dist/conf/gentoo.conf.php
@@ -1,67 +1,65 @@
 <?php
 
-/*
-	Distribution specific settings
-*/
+//*** Gentoo default settings
 
-// Main
-$dist["init_scripts"] = "/etc/init.d";
-$dist["runlevel"] = "/etc";
-$dist["shells"] = "/etc/shells";
-$dist["cron_tab"] = "/var/spool/cron/crontabs/root";
-$dist["pam"] = "/etc/pam.d";
+//* Main
+$dist['init_scripts'] = '/etc/init.d';
+$dist['runlevel'] = '/etc';
+$dist['shells'] = '/etc/shells';
+$dist['cron_tab'] = '/var/spool/cron/crontabs/root';
+$dist['pam'] = '/etc/pam.d';
 
-// MySQL
-$dist["mysql"]["init_script"] = "mysql";
+//* MySQL
+$dist['mysql']['init_script'] = 'mysql';
 
-// Apache
-$dist["apache"]["user"] = "apache";
-$dist["apache"]["group"] = "apache";
-$dist["apache"]["init_script"] = "apache2";
-$dist["apache"]["version"] = "2.2";
-$dist["apache"]["vhost_dist_dir"] = "/etc/apache2/vhosts.d";
-$dist["apache"]["vhost_dist_enabled_dir"] = "/etc/apache2/vhosts.d";
+//* Apache
+$dist['apache']['user'] = 'apache';
+$dist['apache']['group'] = 'apache';
+$dist['apache']['init_script'] = 'apache2';
+$dist['apache']['version'] = '2.2';
+$dist['apache']['vhost_dist_dir'] = '/etc/apache2/vhosts.d';
+$dist['apache']['vhost_dist_enabled_dir'] = '/etc/apache2/vhosts.d';
 
-// Postfix
-$dist["postfix"]["config_dir"] = "/etc/postfix";
-$dist["postfix"]["init_script"] = "postfix";
-$dist["postfix"]["user"] = "postfix";
-$dist["postfix"]["group"] = "postfix";
-$dist["postfix"]["vmail_userid"] = "5000";
-$dist["postfix"]["vmail_username"] = "vmail";
-$dist["postfix"]["vmail_groupid"] = "5000";
-$dist["postfix"]["vmail_groupname"] = "vmail";
-$dist["postfix"]["vmail_mailbox_base"] = "/home/vmail";
+//* Postfix
+$dist['postfix']['config_dir'] = '/etc/postfix';
+$dist['postfix']['init_script'] = 'postfix';
+$dist['postfix']['user'] = 'postfix';
+$dist['postfix']['group'] = 'postfix';
+$dist['postfix']['vmail_userid'] = '5000';
+$dist['postfix']['vmail_username'] = 'vmail';
+$dist['postfix']['vmail_groupid'] = '5000';
+$dist['postfix']['vmail_groupname'] = 'vmail';
+$dist['postfix']['vmail_mailbox_base'] = '/home/vmail';
 
-// Getmail
-$dist["getmail"]["config_dir"] = "/etc/getmail";
-$dist["getmail"]["program"] = "/usr/bin/getmail";
+//* Getmail
+$dist['getmail']['config_dir'] = '/etc/getmail';
+$dist['getmail']['program'] = '/usr/bin/getmail';
 
-// Courier
-$dist["courier"]["config_dir"] = "/etc/courier";
-$dist["courier"]["courier-authdaemon"] = "courier-authlib";
-$dist["courier"]["courier-imap"] = "courier-imapd";
-$dist["courier"]["courier-imap-ssl"] = "courier-imapd-ssl";
-$dist["courier"]["courier-pop"] = "courier-pop3d";
-$dist["courier"]["courier-pop-ssl"] = "courier-pop3d-ssl";
+//* Courier
+$dist['courier']['config_dir'] = '/etc/courier';
+$dist['courier']['courier-authdaemon'] = 'courier-authlib';
+$dist['courier']['courier-imap'] = 'courier-imapd';
+$dist['courier']['courier-imap-ssl'] = 'courier-imapd-ssl';
+$dist['courier']['courier-pop'] = 'courier-pop3d';
+$dist['courier']['courier-pop-ssl'] = 'courier-pop3d-ssl';
 
-// SASL
-$dist["saslauthd"]["config"] = "/etc/default/saslauthd";
-$dist["saslauthd"]["init_script"] = "saslauthd";
+//* SASL
+$dist['saslauthd']['config'] = '/etc/default/saslauthd';
+$dist['saslauthd']['init_script'] = 'saslauthd';
 
-// Amavisd
-$dist["amavis"]["config_dir"] = "/etc/amavis";
-$dist["amavis"]["init_script"] = "amavisd";
+//* Amavisd
+$dist['amavis']['config_dir'] = '/etc/amavis';
+$dist['amavis']['init_script'] = 'amavisd';
 
-// ClamAV
-$dist["clamav"]["init_script"] = "clamd";
+//* ClamAV
+$dist['clamav']['init_script'] = 'clamd';
 
-// Pureftpd
-$dist["pureftpd"]["config_dir"] = "/etc/pure-ftpd";
-$dist["pureftpd"]["init_script"] = "pure-ftpd";
+//* Pureftpd
+$dist['pureftpd']['config_dir'] = '/etc/pure-ftpd';
+$dist['pureftpd']['init_script'] = 'pure-ftpd';
 
-// MyDNS
-$dist["mydns"]["config_dir"] = "/etc";
-$dist["mydns"]["init_script"] = "mydns";
+//* MyDNS
+$dist['mydns']['config_dir'] = '/etc';
+$dist['mydns']['init_script'] = 'mydns';
 
-?>
+?>
\ No newline at end of file
diff --git a/install/install.php b/install/install.php
index fd040cf06446c271da4d105f6fac4b956aff1e20..2e7ba60d7b3679c724dec93739cf2a3fdf4f534b 100644
--- a/install/install.php
+++ b/install/install.php
@@ -76,8 +76,9 @@ swriteln($inst->lng('    Following will be a few questions for primary configura
 swriteln($inst->lng('    Default values are in [brackets] and can be accepted with <ENTER>.'));
 swriteln($inst->lng('    Tap in "quit" (without the quotes) to stop the installer.'."\n\n"));
 
+//** Check log file is writable (probably not root or sudo)
 if(!is_writable(ISPC_LOG_FILE)){
-    die("ERROR: Cannot write to the log file '".ISPC_LOG_FILE."'. Are you root ?\n\n");
+    die("ERROR: Cannot write to the log file '".ISPC_LOG_FILE."'. Are you root or sudo ?\n\n");
 }
 
 //** Select the language