added global define to the options