Updating build scripts
switching to pexpect and timeout for long running processes