Fixing HEREDOC syntax