Added support for IF-ELSE-ENDIF