Added an "Or" mode to allow choosing between modes