Updating headers in script