fixed ability to run on templates oher than main.mustache