Fixed syntax problems, and tested deployment with GPT. MBR is untested.