some setting checks

Script checks now if settings not empty and if there is a prior
installation.