Fine tuning the virtual machine creation process. Cleaned up formatting
in a few scripts, found some bugs.