Use heredocs rather than an echo every line.