Fix deploy script to force pseudo-tty allocation