Fix ECO template engine

Closes #101