UPDATE tbloptions_static SET value = 'before_tax' WHERE name LIKE '%discount_type%';
UPDATE tbloptions_static SET value = 'global' WHERE name LIKE '%tax_type%';