Added variable to pass in different template files