Scriptwriters don't get enough credit for making actors sound clever