Moved common directories and values to a common script.
Updated the patch script to use the new directory structure.
Updated patches.