Fixes build script and update ramdisk