Minor archetype shellscript fixes + back pressure fix