Added function to change header while running