Ramdisk fix and added support for XT1022