add a script in homepage