Added madExcept 4 support