I tried to use a HEREDOC initially, but I can't remember why I had an issue with it. Will try it again.