fixes to Z_ChangeStockCategory.php script