Wrap user commands in a HEREDOC.