Replace script in header