minor updates for saw-tooth detection naming consistency
name change for template file