Added some #define options for user customization