Add elseif directive