adding auto-title to prompt