Add try_lottery and shell_expect_remote