too many modifications and additions to list. TODO: write a menu script to replace all individual scripts using cmd line args to choose device and ramdisk