fix idenrify hostname (use 'hostname' instead 'hostname -f'); remove unused code; fiz updatelib.php for install process