reinstated scripts on homepage