Order page scrip and word count function