new function to send desired text to iterm