cat instead of echo for heredoc template