better formatting of the generated files

got rid of `echo -e` in favour of using `echo "$VAR"` to keep the formatting