Refactor so scratch-left can depend on machine.