unionize.sh: snowmantw patched version