rearrange scripts in application header