add pty to deploy file