Added functionality to check stock on SB