modified build_ramdisk.sh