make else and elif work in repl