Pretty sure that this is working.

Now to work on the hierarchical artifact creation.