Made efficiency updates per Douglas Mason on Extension talk:Header Footer