Updated elseif snippet, added else snippet