Stopped using script for pty