Reorder scripts in header