refactor of example template to reflect dist changes