Added first boot recognision and memory improvements