Add 'both' option for disable condition