passed script through header box to manage header.