read template instead of requiring it
simpler logging