simplify header creation
add headers for local view saving