Changed AddHeadScript to AddHeadString to prevent improper script squence