Factories were told by the state how much to produce and what