script working only on homepage. :D