adds flag to function/delay that determines the override mode