added header correction script