scripts now loaded only on homepage