Added 'q' var, used send vs sendline.