Slightly beautified the actual script.
Keep dieing on variable bugs but allow them while sourcing the rest of the mess in /etc/xen/scripts