Don't create variables if value is NULL
fix metadata parser to use defaults if key is missing.
Better client feedback
error checking on client to make sure we can make the run dir.