Envoyer par SMS: Motor planning flexibly optimizes performance under uncertainty about task goals