redoing old pull request. Closes #544 closes #513
#572
Merge pull request #582 from OCHA-DAP/marianne-dev

Merged! A nicer, neater pull request :) Closes #544 closes #513
Merge pull request #583 from OCHA-DAP/dev-clean-template-files

Dev clean template files