splitting up the script to create a template dmg and then build on top of that
adding the structure of the template dmg
reworking the scripts to work with the template
slimming down the template and making sure it's a valid App Bundle - stops Mac OS X mounting it twice