More small changes to stock control