Factor prodState into the utils library