-VER="2.0.47" # installer version
-DIST="ArchLabs" # linux distributor
-MNT="/mnt" # install mountpoint
-ANS="/tmp/ans" # dialog answer file
-
-
-# ------------------------------------------------------ #
-# if you manually mount your partitions then you
-# need to set these values to avoid using the mount menu.
-# ------------------------------------------------------ #
-
-# root partition, eg/ /dev/sda2
-ROOT_PART=''
-
-# boot partition, required on UEFI eg. /dev/sda1
-BOOT_PART=''
-
-# device used for some bootloader install process, eg. /dev/sda
-BOOT_DEV=''
-
-# bootloader to use, can be:
-# UEFI: grub, syslinux, efistub, systemd-boot, refind-efi
-# BIOS: grub, syslinux
-BOOTLDR=''
-
-# directory to mount the boot partition (if any) for most bootloaders
-# this will need to be 'boot' however a popular one for grub is 'boot/efi'
-BOOTDIR='boot'
-
-# ------------------------------------------------------ #
-
-# bulk default values {
-
-EXMNT='' # holder for additional partitions while mounting
-EXMNTS='' # when an extra partition is mounted append it's info
-
-FONT="ter-i16n" # font used for the linux console
-HOOKS="shutdown" # list of additional HOOKS to add in /etc/mkinitcpio.conf
-
-LOGINRC='' # login shell rc file, eg. .zprofile, .bash_profile, .profile
-LOGIN_WM='' # default login session to be placed in ~/.xinitrc
-LOGIN_TYPE='' # login manager can be: lightdm, xinit
-INSTALL_WMS='' # space separated list of chosen wm/de
-
-UCODE='' # cpu microcode (if any), eg. amd-ucode, intel-ucode
-KERNEL='' # can be linux, linux-lts, linux-zen, or linux-hardened
-MYSHELL='' # full path for the shell, eg. /usr/bin/zsh
-
-WM_PKGS='' # full list of packages added during wm/de choice
-PACKAGES='' # list of all packages to install including WM_PKGS
-USER_PKGS='' # packages selected by the user during install
-
-NEWUSER='' # username for the new user
-USER_PASS='' # new user's password
-ROOT_PASS='' # root password
-
-LUKS='' # empty when not using encryption
-LUKS_DEV='' # boot parameter string for LUKS
-LUKS_PART='' # partition used for encryption
-LUKS_PASS='' # encryption password
-LUKS_UUID='' # encrypted partition UUID
-LUKS_NAME='' # name used for encryption
-
-LVM='' # empty when not using lvm
-LVM_PARTS='' # partitions used for volume group
-VGROUP_MB=0 # available space in volume group
-
-WARN='' # issued mounting/partitioning warning
-SEP_BOOT='' # separate boot partition for BIOS
-AUTOLOGIN='' # enable autologin for xinit
-CONFIG_DONE='' # basic configuration is finished
-BROADCOM_WL='' # fixes for broadcom cards eg. BCM4352
-
-FORMATTED='' # partitions we formatted and should allow skipping
-AUTO_ROOT_PART='' # root value from auto partition
-AUTO_BOOT_PART='' # boot value from auto partition
-
-SWAP_PART='' # swap partition or file path
-SWAP_SIZE='' # swap size, only used when creating a swapfile
-
-# iso base, pacstrap when running the installer from a stock arch iso
-ISO_BASE="b43-firmware b43-fwcutter broadcom-wl clonezilla dhclient dhcpcd ethtool wpa_supplicant "
-ISO_BASE+="exfat-utils f2fs-tools gptfdisk vim hdparm ipw2100-fw ipw2200-fw nfs-utils nilfs-utils ntfs-3g "
-ISO_BASE+="pacman-contrib parted rsync sdparm smartmontools wget wireless_tools wpa_actiond xl2tpd dialog parted "
-ISO_BASE+="alsa-firmware alsa-lib alsa-plugins pulseaudio pulseaudio-alsa networkmanager w3m htop wireless-regdb "
-ISO_BASE+="lm_sensors lsb-release p7zip pamixer reflector unrar ranger terminus-font ttf-dejavu archlabs-keyring"
-
-# archlabs base packages
-AL_BASE_PKGS="archlabs-skel-base archlabs-fonts archlabs-themes archlabs-dARK archlabs-icons archlabs-wallpapers archlabs-scripts"
-
-# baseline (usually installed in the background)
-BASE_PKGS="base-devel xorg xorg-drivers xorg-xinit sudo git gvfs gtk3 gtk-engines gtk-engine-murrine pavucontrol tumbler "
-BASE_PKGS+="playerctl ffmpeg gstreamer libmad libmatroska gst-libav gst-plugins-base gst-plugins-good scrot"
-
-# extras for window managers
-WM_BASE_PKGS="arandr archlabs-networkmanager-dmenu xdg-user-dirs nitrogen polkit-gnome volumeicon xclip exo "
-WM_BASE_PKGS+="xdotool compton wmctrl gnome-keyring dunst feh gsimplecal xfce4-power-manager xfce4-settings laptop-detect"
-
-
-SEL=0 # currently selected menu item
-ERR="/tmp/errlog" # error log used internally
-DBG="/tmp/debuglog" # debug log when passed -d
-RUN="/run/archiso/bootmnt/arch/boot" # path for live /boot
-VM="$(dmesg | grep -i "hypervisor")" # is the system a vm
-SYS='Unknown'
-
-export DIALOGOPTS="--cr-wrap"
-
-# }
-
-# giant ugly variable container :P {
-
-# RAM in the system in MB