Allow non-global sweatshops.

See README for a description of changes.