changed scripts to point to ubuntu image and use new patches.
Fixed names and functions to match new image.