updated with template example and new ResetButton setting