Save matches after running and add template