removed pexpect dependancy