Added a feature that allows you to change the onStock value.